Character Literals

 
Syntax

 

character_literal.bmp

 

If the "Use Quoted Delimiters" option is not selected in the data dictionary, then character literals can also be prefixed and suffixed by a single double quote character.

 

use_quoted_delimiters.bmp

 

Examples of Character Literals:

 

Literal

Data Type

'abcdef'

Char(6)

'abcdefg'  

Char(7) only if "Use Quoted Delimiters" is disabled; otherwise this is treated as an identifier

'image49.gif'

Unicode(7)

''  (empty quotes)

Varchar(1)